< previous page page_644 next page >

Page 644
8160-0644a.gif
Figure 31.4
The slider control example.
Common Properties of the Slider Control
The slider control has several properties that are different from the standard set of properties for controls. Table 31.7 lists these properties.
Table 31.7 Common Properties of the Slider Control.
PropertyDescription
MinSet this property to the minimum value you want to have as a starting value when the user selects the leftmost tick mark of the slider control.
MaxSet this property to the maximum value you want to have as an ending value when the user selects the rightmost tick mark of the slider control.
SelectRangeSet this property to True if you want to display a highlighted range of values within the slider control. If you set this property, you need to set the SelStart and SelLength properties to valid values within the Min and Max properties.
SelStartSet this property to a value thats greater than the Min property to signify where you want the selection range to start.
SelLengthSet this property to a value thats no greater than the Max property to signify where you want the selection range to end.
SmallChangeSet this property to a value that determines how to increment or decrement the Value property when the user grabs the slider and moves it either left or right.
LargeChangeSet this property to a value that determines how to increment or decrement the Value property when the user clicks anywhere on the slider control.
TickFrequencySet this property to a value that specifies where to place a tick mark on the slider.

(table continued on next page)

 
< previous page page_644 next page >

If you like this book, buy it!